cmake_minimum_required(VERSION 3.20)
project(TCP_Client)

set(CMAKE_CXX_STANDARD 11)

set(tcp_head
        tcp/InetAddress.h
        tcp/Socket.h
        tcp/Acceptor.h
        tcp/TcpServer.h
        tcp/TcpConnection.h)

set(tcp_member
        tcp/Socket.cpp
        tcp/InetAddress.cpp
        tcp/Acceptor.cpp
        tcp/TcpServer.cpp
        tcp/TcpConnection.cpp)

add_executable(TCP_Client main.cpp  ${tcp_head} ${tcp_member})